
#ifndef _OV2640_BSP_MSP_H_
#define _OV2640_BSP_MSP_H_

#include <stm32h7xx_hal.h>

void ov2640_dcmi_msp_init(DCMI_HandleTypeDef *hdcmi);
void ov2640_dcmi_msp_deinit(DCMI_HandleTypeDef *hdcmi);

void ov2640_i2c_msp_init(I2C_HandleTypeDef *hi2c);
void ov2640_i2c_msp_deinit(I2C_HandleTypeDef *hi2c);

/* These functions can be modified in case the current settings (e.g. DMA stream)
       need to be changed for specific application needs */
void ov2640_dcmi_mx_init(DCMI_HandleTypeDef *hdcmi);
void ov2640_i2c_mx_init(I2C_HandleTypeDef *ov5640_i2c_handle);

#endif